package com.ruoyi.zlkc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病人对象 zlkc_patients
 * 
 * @author ruoyi
 * @date 2024-12-04
 */
public class ZlkcPatients extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 档案id */
    private Long recordId;

    /** 病历描述 */
    @Excel(name = "病历描述")
    private String description;

    /** 病症（1为血压病，2为血糖病，3为血脂） */
    @Excel(name = "病症", readConverterExp = "1=为血压病，2为血糖病，3为血脂")
    private Long diseaseNow;

    /** 疾病史 */
    @Excel(name = "疾病史")
    private String diseaseHistory;

    /** 过敏史 */
    @Excel(name = "过敏史")
    private String allergicHistory;

    /** 家族病史 */
    @Excel(name = "家族病史")
    private String familyHistory;

    /** 生活习惯 */
    @Excel(name = "生活习惯")
    private String habit;

    /** 健康状态(0,健康1治疗中2观察中) */
    @Excel(name = "健康状态(0,健康1治疗中2观察中)")
    private Long healthStatus;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setDiseaseNow(Long diseaseNow) 
    {
        this.diseaseNow = diseaseNow;
    }

    public Long getDiseaseNow() 
    {
        return diseaseNow;
    }
    public void setDiseaseHistory(String diseaseHistory) 
    {
        this.diseaseHistory = diseaseHistory;
    }

    public String getDiseaseHistory() 
    {
        return diseaseHistory;
    }
    public void setAllergicHistory(String allergicHistory) 
    {
        this.allergicHistory = allergicHistory;
    }

    public String getAllergicHistory() 
    {
        return allergicHistory;
    }
    public void setFamilyHistory(String familyHistory) 
    {
        this.familyHistory = familyHistory;
    }

    public String getFamilyHistory() 
    {
        return familyHistory;
    }
    public void setHabit(String habit) 
    {
        this.habit = habit;
    }

    public String getHabit() 
    {
        return habit;
    }
    public void setHealthStatus(Long healthStatus) 
    {
        this.healthStatus = healthStatus;
    }

    public Long getHealthStatus() 
    {
        return healthStatus;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("description", getDescription())
            .append("diseaseNow", getDiseaseNow())
            .append("diseaseHistory", getDiseaseHistory())
            .append("allergicHistory", getAllergicHistory())
            .append("familyHistory", getFamilyHistory())
            .append("habit", getHabit())
            .append("healthStatus", getHealthStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
